/**
 * 项目相关接口
 */
export const project = {
  getProjects: {
    get: "api/idata/users/projects"
  },
  getProjectById: {
    get: "/api/idata/projects/{id}"
  },
  addProject: {
    post: "/api/idata/projects"
  },
  updateProject: {
    put: "/api/idata/projects"
  },
  deleteProject: {
    delete: "/api/idata/projects/{id}"
  },
  pageProjectList: {
    get: "/api/idata/projects?page={page}"
  }
};
